<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>后台管理系统 - {{$title|default='Admin'}}</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta http-equiv="Access-Control-Allow-Origin" content="*">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <base href="{{:url('/')}}"/>

    <link href="{{:asset('__STATIC__/plugins/layui/css/layui.css')}}" rel="stylesheet" type="text/css" />
    <link href="{{:asset('__STATIC__/admin/css/admin.css')}}" rel="stylesheet" type="text/css"/>
    <link href="{{:asset('__STATIC__/admin/css/custom.css')}}" rel="stylesheet" type="text/css"/>
    <link href="{{:asset('__STATIC__/plugins/simple-line-icons/layui-icon.css')}}" rel="stylesheet" type="text/css"/>
    <link href="{{:asset('__STATIC__/plugins/viewer/css/viewer.css')}}" rel="stylesheet" type="text/css"/>

    {block name="pagecss"}{/block}

    <script type="text/javascript">
        // 全局变量
        var APP = {
            HOST: "",
            //ROOT : "{:asset('')}",
            ROOT : "{{:asset('public/index.php/')}}",
            STATIC : "{{:asset('__STATIC__/')}}",
            WEB_ROOT: "/",
            CONFIG: ""
        };
    </script>

    <!--<script src="{{:asset('__STATIC__/plugins/layui/layui.js')}}" type="text/javascript"></script>
    <script src="{{:asset('__STATIC__/admin/js/common.js')}}" type="text/javascript"></script>

    <script type="text/javascript">
        layui.config({
            base: "{{:asset('__STATIC__/admin/')}}" // 静态资源所在路径
        }).extend({
            index: 'js/app' // 主入口模块
        }).use('index');
    </script>-->
</head>

<body class="">
<div>
    {block name="content"}{/block}

    <div class="upload-progress">
        <div class="mask"></div>
        <div class="progress layui-progress layui-progress-big" lay-showpercent="true" lay-filter="uploadProgress">
            <div class="layui-progress-bar layui-bg-red" lay-percent="0%"></div>
        </div>
    </div>
</div>

<input type="hidden" class="upload_url" value="{{:url('/common/upload')}}">
<input type="hidden" class="download_url" value="{{:url('/common/download')}}">

<script src="{{:asset('__STATIC__/plugins/layui/layui.js')}}" type="text/javascript"></script>
<script src="{{:asset('__STATIC__/admin/js/common.js')}}" type="text/javascript"></script>

<script type="text/javascript">
    layui.config({
        base: "{{:asset('__STATIC__/admin/')}}" // 静态资源所在路径
    }).extend({
        app: 'js/app' // 主入口模块
    }).use('app');
</script>

{block name="pagescript"}{/block}
</body>
</html>
